AVD Android 13 루팅

AVD Android 13 루팅

Description
AVD Android 13 루팅
category
MobileHacking
Tag
Andorid
Mobile Security
Date
Jan 5, 2024 09:16 AM
실습 가능한 공기계가 없고, WSL 사용중이여서 Nox,BlueStack을 사용하지 않고 AVD를 통해 실습하기 위해 AVD에 루팅을 진행하였다.

AVD 생성

버전은 Android 13으로 진행하였다.
AVD는 다음과 같이 구성하였다. (다른 버전으로 진행하였을때 실패하였음)
notion image
 
 

rootAVD

해당 깃에서 AVD rooting 프로그램을 지원하고 있었다.
 
AVD 실행 후 해당 명령어를 통해 루팅 옵션을 볼 수 있다.
.\rootAVD.bat ListAllAVDs
notion image
 
rootAVD.bat system-images\android-33\google_apis_playstore\x86_64\ramdisk.img
필자는 해당 옵션으로 진행하였다.
 
[-] Performing Streamed Install [-] Success [-] Shut-Down and Reboot [Cold Boot Now] the AVD and see IF it worked [-] Root and Su with Magisk for Android Studio AVDs [-] Modded by NewBit XDA - Jan. 2021 [*] Huge Credits and big Thanks to topjohnwu, shakalaca and vvb2060 [-] Trying to shut down the AVD [!] If the AVD doesnt shut down, try it manually!
위와 같이 뜨면 정상적으로 진행된 것이다.
💡
진행되지 않을 시 adb가 환경변수에 등록되어 있는지 확인해야 된다.
 
AVD를 재 실행 시 Magisk가 설치 된 것을 볼 수 있다.
notion image
 

Magisk

Magisk 실행 시 install을 눌러 준다.
notion image
 
Direct install을 눌러준 뒤 Let’s go를 설치를 마무리 한 뒤 재부팅 해준다.
notion image
정상적으로 루팅 성공 시 아래와 같이 나온다.
notion image
shell 접속 권한도 허용해 adb에서도 잘 작동하는 것을 볼 수 있다.
notion image